package com.day1014.remote;

import org.omg.CORBA.PUBLIC_MEMBER;

import javax.swing.*;

public class MyFrame extends JFrame {
    MyPanel myPanel = new MyPanel();
    public MyFrame(){
        super.setSize(960,540);
        super.setTitle("Nihao");
        super.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        super.add(myPanel);
        super.setVisible(true);
    }
}
